<?php

class Order {

function displayReport($type="", $orderId=NULL){

		echo "<div id=\"content\" class=\"calendar\" style=\"text-align: left;\">";
		
			//Display Retrieved information
			while($row = mysql_fetch_array( $result )) {
				
				echo "ID: ".$row['id']." | ";
				echo "Order ID: ".$row['order_id']." | ";
				echo "Promotion: ".$row['name_of_promo']."<br />";
				echo $row['order']."<br />";
				echo "Order Price: ".$row['price']."<br /><br />";
				
			}
		
		echo "</div>";

	}
	
}
	
?>